package com.example.demo.paper.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.paper.entity.TPaper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 试卷表 Mapper 接口
 * </p>
 *
 * @author zhongz
 * @since 2019-02-19
 */
public interface TPaperMapper extends BaseMapper<TPaper> {

    /**
     * 通过试卷ID查询试卷详情
     *
     * @param id 试卷ID
     * @return
     */
    List<Map<String, Object>> selectPaperDetail(@Param(value = "id") String id);
}
